<?php
namespace app\api\validate;
use think\Validate;

/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2018/8/9
 * Time: 11:39
 */
class Order extends Validate
{

    protected $rule = [
        'order_sn'  =>  'unique:Order',
    ];
    protected $message = [
        'order_sn.unique'  =>  '订单号已存在',
    ];
}